/**
 * Get / Set Storage variables
 * $.attic("foo")
 * @author Andrew Wooldridge
 **/
 
jQuery.attic = function(name, value, options) {     
  var docdom = document.domain;
   if(typeof value != 'undefined' ){
     // set the attic value since name and value both given
     //get the domain of the page
     //store the value 
     
     if(typeof globalStorage != 'undefined'){
       //yay we have firefox 2 or 3
       globalStorage[docdom][name] = value;
     }else {
       //boo we have some other browser
     }
   } else {
     //only have name so fetch the value
    if(typeof globalStorage != 'undefined'){
    //if(false){  
      //firefox 2 or 3
      return globalStorage[docdom][name]
    } else {
      //some other browser
    }
   }
   
   
 }; 




